﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QuantitativeIndicator.Tools;
namespace QuantitativeIndicator.Convergence
{
    class ConvergenceDataModel:DataModel
    {

        /// <summary>
        ///   插入RSquare 的数值
        /// </summary>
        /// <param name="code"></param>
        /// <param name="indexCode"></param>
        /// <param name="tradingDate"></param>
        /// <param name="period"></param>
        /// <param name="rSquareValue"></param>
        public void insertRSqureValue(string code,string indexCode,string tradingDate,int period,double rSquareValue)
        {
            this.windCommand.CommandText = "insert into [DFZQ_RSquare] values( '" + code + "','" + indexCode + "','" + tradingDate + "'," + period + "," + rSquareValue+")";
            this.windCommand.ExecuteNonQuery();
        }

        
        
    }
}
